package scanner.newtask.controller;

import com.opensymphony.xwork2.ActionSupport;

public class NewTask extends ActionSupport{

	private String taskname;
	private String target;
	private String ploy;
	public String getTaskname() {
		return taskname;
	}
	public void setTaskname(String taskname) {
		this.taskname = taskname;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public String getPloy() {
		return ploy;
	}
	public void setPloy(String ploy) {
		this.ploy = ploy;
	}
	public String execute() throws Exception{
		System.out.println(taskname);
		System.out.println(target);
		System.out.println(ploy);
		
		return "success";
		
	}
}
